<?php

namespace App\Models;

use App\Models\Base;


class Fangattr extends Base
{
    //获取数据
    public function getList() {
        //获取全部的数据
        $data = self::get()->toArray();
        //调用父类中的递归层级
        $data = $this->treeLevel($data);
        return $data;
    }
}
